projects
/
babl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9690f8
)
babl-mutex: Define _GNU_SOURCE instead of __USE_GNU
author
Jon Nordby
<jononor@gmail.com>
Wed, 18 Mar 2015 11:07:01 +0000
(12:07 +0100)
committer
Jon Nordby
<jononor@gmail.com>
Wed, 18 Mar 2015 11:07:01 +0000
(12:07 +0100)
__USE_GNU should only be set internally by the libc feature detect macros.
On older Debian-based systems, as used by Heroku cedar-10 stack, this failed
to provide the definition of PTHREAD_MUTEX_RECURSIVE
babl/babl-mutex.h
patch
|
blob
|
history
diff --git
a/babl/babl-mutex.h
b/babl/babl-mutex.h
index 99fdbaa1c2b6af891d4825826ec94dd46eb1eeea..57154b3471e68d89676032b683132043e43a2fc0 100644
(file)
--- a/
babl/babl-mutex.h
+++ b/
babl/babl-mutex.h
@@
-20,7
+20,7
@@
#define _BABL_MUTEX_H
#ifndef _WIN32
-#define __
USE_GNU
1
+#define __
GNU_SOURCE
1
#include <pthread.h>
#else
#include <windows.h>